fix(custom-blocks): render and execute custom blocks as agent tools#5811
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview The tool panel surfaces each block’s real input sub-blocks (not Runtime routes custom blocks through a new Also registers Reviewed by Cursor Bugbot for commit 2db4e6c. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
@cursor review |
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 2db4e6c. Configure here.
Summary
custom_block_executorthat reusesWorkflowBlockHandler, so authority (org-scoped owner identity, latest deployment, curated outputs, cost roll-up) matches the canvas pathgetToolIdForOperationreading a stale block cache, which made "add tool" a silent no-op for async-hydrated custom blocksworkflow_executor+custom_block_executorin the minimal dev registry so tool config resolves underSIM_DEV_MINIMAL_REGISTRY=1executeTooldynamic-importsType of Change
Testing
bun run lintandbun run check:api-validation:strictpass,tsc --noEmitclean, and 139 tests pass across the touched suites (render branch, tool transform, execution runner). Not yet exercised in a running browser.Checklist